home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
stsbar.zip
/
STSBAR.EXT
< prev
next >
Wrap
Text File
|
1991-09-12
|
2KB
|
60 lines
//========================================================================
// Program : STSBAR.EXT
// Version : 1.1.0
// Operating System : DOS / Windows 3.0
// Author : Jean-Marc Krikorian
// 525 Sandy Lane
// Libertyville, IL 60048
// (708) 816-3314
//
// Description : This file external function prototypes as well as all
// public messages, styles and defines.
//
// Copyright 1991 All Rights Reserved.
//
//========================================================================
// Status Bar Function Prototypes
int FAR PASCAL StatusBarInit(HANDLE hInstance);
BOOL FAR PASCAL StatusBarUnInit(HANDLE hInstance);
// Status Bar Messages
#define SBM_SIZE ( WM_USER + 0 )
#define SBM_DISPLAYTEXT ( WM_USER + 1 )
#define SBM_TEXTCOLOR ( WM_USER + 2 )
#define SBM_FACESTYLE ( WM_USER + 3 )
#define SBM_FACECOLOR ( WM_USER + 4 )
#define SBM_SETFONT ( WM_USER + 5 )
// Status Bar Notification Messages
#define SBN_LBUTTONUP ( 1 )
#define SBN_LBUTTONDBLCLK ( 2 )
#define SBN_MBUTTONUP ( 3 )
#define SBN_MBUTTONDBLCLK ( 4 )
#define SBN_RBUTTONUP ( 5 )
#define SBN_RBUTTONDBLCLK ( 6 )
// Status Bar Face Styles
#define SBFS_3DFACE 1000
#define SBFS_2DFACE 1001
#define SBFS_FLATFACE 1002
// Status Bar Face Colors And Text Colors
#define SBCLR_RED RGB(255, 0, 0)
#define SBCLR_GREEN RGB(0, 255, 0)
#define SBCLR_BLUE RGB(0, 0, 255)
#define SBCLR_WHITE RGB(255, 255, 255)
#define SBCLR_BLACK RGB(0, 0, 0)
#define SBCLR_GRAY RGB(192, 192, 192)
// Status Bar Text Attributes
#define SBTA_BOLD 0x0001
#define SBTA_ITALICS 0x0002
#define SBTA_UNDERLINE 0x0004
#define SBTA_STRIKEOUT 0x0008
// Status Bar Styles
#define SBS_BOTTOM 0x00000001L
#define SBS_TOP 0x00000002L
#define SBS_MOVEABLE 0x00000004L